package com.mybatisplus.mp.ifelse2;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
@DataType("data2")
public class Data2 implements DataStrategy {
    @Override
    public Map<String, Object> connect(Map<String, String> params) {
        Map<String, Object> map = new HashMap<>();
        map.put("策略实现2","data2");
        return map;
    }
}
